home *** CD-ROM | disk | FTP | other *** search
/ Level 2005 Christmas (DVD) / Level_2005-XMAS_134_DVD_Knightshift.iso / Demos / Ski Racing 2006 / setup1.cab / DataCommonShadersDX8TexCombine.vsh < prev    next >
Encoding:
Text File  |  2005-11-03  |  283 b   |  15 lines

  1. ; Shader version 1.1
  2. vs.1.1
  3.  
  4. ;def c4,    0.5,0.5,0.5,1.0
  5. ; Transform position to clip space and output it
  6.  
  7. m4x4 oPos, v0, c0
  8.  
  9. ; Just copy the color (decal)
  10. ; Use the passed in constant for the color (red)
  11. mov oD0, c4
  12.  
  13. ; Just copy the texture coords
  14. mov oT0, v7
  15. mov oT1, v7